]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Add the folder popup to AllView itself
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 20 Jan 2020 20:04:37 +0000 (17:04 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 21 Jan 2020 13:40:34 +0000 (10:40 -0300)
Now the the folder popup behaves like a dialog, it must be
above the app grid, and not be affected by the scroll view
translation.

Add the folder popup to the AllView itself, instead of the
internal Shell.Stack that is inside the scroll view.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

js/ui/appDisplay.js

index ae41c979793879c7f93a9fb21478f92292591cf6..c750ab5efd285443cbf92b477b85f756fa62c9bc 100644 (file)
@@ -703,7 +703,7 @@ var AllView = GObject.registerClass({
     }
 
     addFolderPopup(popup) {
-        this._stack.add_actor(popup);
+        this.add_child(popup);
         popup.connect('open-state-changed', (o, isOpen) => {
             this._eventBlocker.visible = isOpen;